<?php
/* @var $this ActivityController */
/* @var $model Activity */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'资讯管理'=>array($this->pre_module_url.'/news/admin'),
	'活动讲座'=>array($this->pre_module_url.'/activity/admin'),
);
 ?>

<div class="pro_filter c_f">
	<div class="filter f_l">
	<?php $form=$this->beginWidget('CActiveForm', array(
		'action'=>Yii::app()->createUrl($this->route),
		'method'=>'get',
	)); ?>

		<?php echo $form->label($model,'zac_title'); ?>：
		<?php echo $form->textField($model,'zac_title',array('class'=>'t_ipt w_160')); ?>

		<?php echo CHtml::submitButton(Yii::t('cmp','Search'),array('class'=>'mem_bgx mem_btn01')) ?>
		<?php $this->endWidget(); ?>
	</div>
</div>

<table class="list_table list_table2" width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<th class = "pl15"><?php echo CHtml::encode($model->getAttributeLabel('zac_title')); ?></th>
		<th width="20%"><?php echo CHtml::encode($model->getAttributeLabel('zac_a_time')); ?></th>
		<th width="20%"><?php echo CHtml::encode($model->getAttributeLabel('zac_start_time')); ?></th>
		<th width="20%"><?php echo CHtml::encode($model->getAttributeLabel('inputtime')); ?></th> 
		<th width="12%" class="">操作</th>                       
	</tr>
</table>

<?php $this->widget('zii.widgets.CListView', array(
    'dataProvider'=>$model->search(),  
    'itemView'=>'_view',    
    'emptyText'=>'暂时没有数据',  
    'selectAll'=>array('ids[]','id[]'),
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),  
    'artLink'=>array(  
		//批量删除
		array(Yii::t('adm','Delete All'),$this->pre_module_url.'/'.Yii::app()->getController()->id.'/delete','确认批量删除选中项目！'),
	),
	'batchItem'=>array(    
        //添加    
        CHtml::linkbtn(Yii::t('glo','Create'),array('create')),       
    ), 
)); ?>
